<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="referrer" content="no-referrer">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <link rel="icon" href="<%= BASE_URL %>logo.png">
    <title>
    </title>
</head>

<body>
    <noscript>
      <strong>很抱歉，没有启用javascript，整体化无法正常工作。请启用它以继续。</strong>
    </noscript>
    <!-- app -->
    <div id="app"></div>
    <!-- ie 浏览器的页面 -->
     <div id='ieWrap' style='display: none;background-color: gray;width:100%;height: 100%;position: relative;'>
       <div style='width:40%;background-color: #fff;z-index: 999;position: absolute;top:100px;left: 30%;'>
        <div style='padding: 20px 20px 10px;'>
        <div style='    line-height: 24px;
        font-size: 18px;
        color: #303133;'>
            系统提示
        </div>
        </div>
        <div style=' padding: 20px 20px;
        color: #606266;
        font-size: 14px;
        word-break: break-all;'>
             <div>
                <div style='color:red;font-size: 15px;'>系统提示你正在使用IE浏览器，使用IE可能影响你使用本系统，请点击下方链接下载谷歌浏览器使用本系统！！！！</div>
                <div style='margin-top:15px;text-decoration: underline;' id='goto'>谷歌x86</div>
                <div style='margin-top:15px;text-decoration: underline;' id='goto1'>谷歌x64</div>
             </div>


        </div>
        <div style='    padding: 10px 20px 20px;
        text-align: right;
        box-sizing: border-box;'>
            <div style='    display: inline-block;
            line-height: 1;
            white-space: nowrap;
            cursor: pointer;
            background: #fff;
            border: 1px solid #dcdfe6;
            color: #606266;
            -webkit-appearance: none;
            text-align: center;
            box-sizing: border-box;
            outline: none;
            margin: 0;
            transition: .1s;
            font-weight: 500;
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            padding: 12px 20px;
            font-size: 14px;
            border-radius: 4px;    color: #fff;
    background-color: #409eff;
    border-color: #409eff;'>
        确定
        </div>
    </div>
       </div>
     </div>
</body>
<script>
    var userAgent = navigator.userAgent;
    var isLessIE11 = userAgent.indexOf('compatible') > -1 && userAgent.indexOf('MSIE') > -1;
    var isEdge = userAgent.indexOf('Edge') > -1 && !isLessIE11;
    var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf('rv:11.0') > -1;
    if (isLessIE11) {
        var IEReg = new RegExp('MSIE (\\d+\\.\\d+);');
        IEReg.test(userAgent);
        var IEVersionNum = parseFloat(RegExp['$1']);
        if (IEVersionNum === 7) {
            document.getElementById("app").style.display="none";
            document.getElementById("ieWrap").style.display="block";
        } else if (IEVersionNum === 8) {
            document.getElementById("app").style.display="none";
            document.getElementById("ieWrap").style.display="block";
        } else if (IEVersionNum === 9) {
              document.getElementById("app").style.display="none";
              document.getElementById("ieWrap").style.display="block";
        } else if (IEVersionNum === 10) {
            document.getElementById("app").style.display="none";
            document.getElementById("ieWrap").style.display="block";
        } else {
            document.getElementById("app").style.display="none";
            document.getElementById("ieWrap").style.display="block";
        }
    } else if (isEdge) {
        document.getElementById("app").style.display="none";
        document.getElementById("ieWrap").style.display="block";

    } else if (isIE11) {
        document.getElementById("app").style.display="none";
        document.getElementById("ieWrap").style.display="block";

    } else {
        document.getElementById("app").style.display="block";
        document.getElementById("ieWrap").style.display="none";
    }
    document.getElementById("goto").onclick=function(){
        var a = window.location.host 
        window.location.href=""+a+"/czfwptStage/down/chromex86.exe"
    }
    document.getElementById("goto1").onclick=function(){
        var a = window.location.host  
        window.location.href=""+a+"/czfwptStage/down/chromex64.exe"
    }

</script>

</html>
